<html lang="en">
<head>
    <meta charset="UTF-8">
    <link href="//cdn.bootcss.com/element-ui/1.4.0/theme-default/index.css" rel="stylesheet">
    <link href="menuInfo.css" rel="stylesheet">
    <link href="//cdn.bootcss.com/zui/1.7.0/css/zui.min.css" rel="stylesheet">
</head>
<body>
<script src="//cdn.bootcss.com/vue/2.2.2/vue.min.js"></script>
<script src="https://cdn.bootcss.com/axios/0.16.2/axios.min.js"></script>
<script src="//cdn.bootcss.com/jquery/1.12.4/jquery.min.js"></script>
<script src="//cdn.bootcss.com/element-ui/1.4.0/index.js"></script>
<script src="/framework/lib/common.js"></script>
<div id="app" style="margin-top: 20px">
    <template>
        <el-row>
            <el-col :span="18" :offset="3">
                <el-form ref="form" :model="form" label-width="100px">
                    <el-form-item label="标题">
                        <el-input v-model="form.title"></el-input>
                    </el-form-item>
                    <el-form-item label="code">
                        <el-input v-model="form.code"></el-input>
                    </el-form-item>
                    <el-form-item label="父code">
                        <el-input v-model="form.parentCode"></el-input>
                    </el-form-item>
                    <el-form-item label="图标">
                        <el-input v-model="form.icon"></el-input>
                    </el-form-item>
                    <el-form-item label="链接">
                        <el-input type="text" v-model="form.url"></el-input>
                    </el-form-item>
                    <el-form-item>
                        <el-col :span="6" :offset="9">
                            <el-button type="primary" @click="onSubmit" size="large">保存</el-button>
                            <el-button  @click="onCancel">取消</el-button>
                        </el-col>
                    </el-form-item>
                </el-form>
            </el-col>
        </el-row>

    </template>
</div>
<script src="../../../sytem.config.js"></script>
<script src="menuInfo.js"></script>

</body>
</html>